package cn.k7g.alloytest.lombok;

import lombok.experimental.ExtensionMethod;

@ExtensionMethod(String.class)
public class ExtMethod {
    public <T> T or(T obj, T ifNull) {
        return obj != null ? obj : ifNull;
    }
}
